const one = document.querySelector("#one");
one.addEventListener("click", () => {
  alert("我是打头阵的！");
});
const nine = document.querySelector(".nine");
nine.addEventListener("click", () => {
  alert("奥哥来啦！");
});
const song = document.querySelector(".song");

song.addEventListener("click", function () {
  alert("哈哈哈");
});
const zf = document.querySelector(".zf");
zf.addEventListener("click", function () {
  alert("瞅啥？");
});
const num = document.querySelector(".num");
num.addEventListener("click", function () {
  alert("我是涛少");
});
const wang = document.querySelector(".wang");
wang.addEventListener("click", function () {
  alert("老王来啦！！！");
});
(function () {
  const divshuqian = document.createElement("p");
  const imgshuqian = document.createElement("img");
  const body = document.querySelector("body");
  divshuqian.appendChild(imgshuqian);
  body.appendChild(divshuqian);
  divshuqian.className = "good";
  divshuqian.style.width = "100px";
  divshuqian.style.height = "100px";
  divshuqian.style.borderRadius = "50%";
  divshuqian.style.lineHeight = "100px";
  divshuqian.style.left = "0";
  divshuqian.style.top = "0";
  divshuqian.style.zIndex = "999999999";
  divshuqian.style.position = "fixed";
  divshuqian.style.backgroundColor = "orange";
  divshuqian.style.color = "#fff";
  divshuqian.style.textAlign = "center";
  divshuqian.innerHTML = "第九组牛逼";
  window.addEventListener("mousemove", function (e) {
    divshuqian.style.left = e.clientX + 10 + "px";
    divshuqian.style.top = e.clientY + 10 + "px";
  });
})();
